<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title> {{store_name}} - Order {{ order_id }} </title>
</head>
<body>
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 600px;">
	<tr>
		<td class="align_left">
					<a href="{{ store_url }}" title="{{ store_name }}">
						{{# logo_uri}}
			<img src="{{ logo_uri }}" alt="{{store_name}}" style="border: none;">
                                                 {{/ logo_uri}}
                                                 {{^ logo_uri}}
                                                       {{# logo_html}}
                                                        {{logo_html}}
                                                       {{/ logo_html}}
                                                 {{/ logo_uri}}
					</a>
				</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="align_left">Thank you for your interest in {{store_name}} products. Your order has been received and will be processed after payment is confirmed.</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="align_left"
		    style="background-color: #069; color:#FFF; font-size: 12px; font-weight: bold; padding: 0.5em 1em;">Order Details</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="align_left">Order ID: <span
					style="color: #069; font-weight: bold;">{{ order_id }}</span><br/>
			Date Ordered: {{ date_added }}<br>
			Payment Method: <strong>{{ payment_method }}</strong><br/>
			Shipping Method: <strong>{{ shipping_method }}</strong><br/>
			<br/>
			Email: <strong>{{ customer_email }}</strong><br/>
			Telephone: <strong>{{ customer_telephone }}</strong><br/>
                         {{# customer_mobile_phone }}
                            Telephone: <strong>{{ customer_mobile_phone }}</strong><br/>
                         {{/ customer_mobile_phone }}
		         {{# customer_fax }}
                            Fax: <strong>{{ customer_fax }}</strong><br/>
                         {{/ customer_fax }}
                         IP Address:<strong>{{ customer_ip }}</strong>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td>
			<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #FFFFFF;">
				<tr style="background-color: #CCCCCC; text-transform: uppercase;">
		<th style="text-align: left; padding: 0.3em;">Shipping Address</th>
					<th style="text-align: left; padding: 0.3em;">Payment Address</th>
				</tr>
				<tr>
					<td style="padding: 0.3em; background-color: #EEEEEE; color: #000;">
{{# shipping_data }}
{{ firstname }} {{lastname}} <br/>
{{# company }}
{{{ company }}} <br/> 
{{/ company }}
{{# address_1 }}
{{{ address_1 }}} <br/> 
{{/ address_1 }}
{{# address_2 }}
{{{ address_2 }}} <br/> 
{{/ address_2 }}
{{{ city }}} {{{ postcode }}} <br/> 
{{# zone }}
{{{ zone }}} <br/> 
{{/ zone }}
{{{ country }}}
{{/ shipping_data }}
</td>
<td style="padding: 0.3em; background-color: #EEEEEE; color: #000;">
{{# payment_data }}
{{ firstname }} {{lastname}} <br/>
{{# company }}
{{{ company }}} <br/> 
{{/ company }}
{{# address_1 }}
{{{ address_1 }}} <br/> 
{{/ address_1 }}
{{# address_2 }}
{{{ address_2 }}} <br/> 
{{/ address_2 }}
{{{ city }}} {{{ postcode }}} <br/> 
{{# zone }}
{{{ zone }}} <br/> 
{{/ zone }}
{{{ country }}}
{{/ payment_data }}
</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="align_left">
			<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #000000;">
				<tr style="background-color: #CCCCCC;">
					<th style="width: 40%; padding: 0.3em; color: #FFFFFF;">Product</th>
					<th class="align_left" style="color: #FFFFFF;">Model</th>
<th class="align_right"
		    style="width: 10%; padding: 0.3em; color: #FFFFFF;">Price</th>
					<th class="align_right"
					    style="width: 15%; padding: 0.3em; color: #FFFFFF;">Quantity</th>
					<th class="align_right"
	    style="width: 20%; padding: 0.3em; color: #FFFFFF;">Total</th>
				</tr>
				{{# products }}
					<tr style="background-color: #EEEEEE; text-align: center;">
						<td class="align_left" style="text-align: left;">{{ name }}
	{{# option }}
								<br/>
								&nbsp;&nbsp;- {{ name}} {{ value }} 
	{{/ option }}
						<td class="align_left"> {{ model }} </td>
						<td class="align_right"> {{ price }} </td>
						<td class="align_right"> {{ quantity }} </td>
						<td class="align_right"> {{ total }}</td>
					</tr>
                                {{/ products }}
                                         {{# totals }}
			<tr style="text-align: right;">
						<td colspan="3">&nbsp;</td>
						<td style="background-color: #EEEEEE; font-weight: bold; padding: 0.3em;">{{ title }} </td>
						<td style="background-color: #EEEEEE; padding: 0.3em;"> {{ text }}</td>
					</tr>
                                         {{/ totals }}
			</table>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="align_left"
		    style="background-color: #069; color: #FFF; font-size: 12px; font-weight: bold; padding: 0.5em 1em;"></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
 {{# comment }}
	<tr>
<td class="align_left"
			    style="background-color: #069; color: #FFF; font-size: 12px; font-weight: bold; padding: 0.5em 1em;">The comments for your order are:</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td class="align_left"> {{{ comment }}} </td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
 {{/ comment }}
 {{# invoice }}
		<tr>
			<td class="align_left"
			    style="background-color: #069; color: #FFF; font-size: 12px; font-weight: bold; padding: 0.5em 1em;">To view your order click on the link below:</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
		<td class="align_left"><a href="{{ invoice }}"> {{ invoice }}</a></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
{{/ invoice }}
	<tr>
		<td class="align_center"
		    style="font-size: 10px; border-top: 1px solid #069; text-decoration: none; color: #374953;">
			<a href="{{ store_url }}"
			   style="color: #069; font-weight: bold; text-decoration: none;">{{ store_name }}</a>
{{{ text_project_label }}}
		</td>
	</tr>
</table>
</body>
</html>
